package com.dbz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("stock")
public class Stock {
    @TableId(type = IdType.AUTO)
    private String sid;//库存编号
    @TableField(value = "wid")
    private String wid;//货品id
    @TableField(value = "snumber")
    private Integer snumber;//库存数量
    @TableField(value = "stockTime")
    private Date stockTime;//入库时间
    @TableField(value = "isRetreat")
    private String isRetreat;//是否退货
    @TableField(value = "retreatTime")
    private Date retreatTime;//退货时间
}
